package com.bobamrz.frontend;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class LogoutServlet extends SuperServlet {

	private static final long serialVersionUID = 2996795152189498830L;

	@Override
	protected void processGet(HttpServletRequest req, HttpServletResponse response)
			throws ServletException, IOException {
		req.getSession().invalidate();
		response.sendRedirect("login");
		return;
	}
}
